<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>商品分类 - 花礼相伴</title>
    <!-- Tailwind CSS -->
    <script src="https://cdn.tailwindcss.com"></script>
    <!-- FontAwesome 图标库 -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        body {
            background-color: #f8f8f8;
        }
    </style>
</head>
<body class="bg-gray-100">
    <!-- 主体内容 -->
    <div class="min-h-screen flex flex-col">
        <!-- 导航栏 -->
        <header class="bg-white p-4 border-b border-gray-200 shadow-sm">
            <div class="container mx-auto flex items-center justify-between">
                <a href="home.html" class="text-2xl font-bold text-rose-500 flex items-center">
                    <i class="fas fa-flower text-rose-500 mr-2"></i>
                    花礼相伴
                </a>
                <div class="hidden lg:block w-1/3">
                    <div class="relative">
                        <input type="text" placeholder="搜索鲜花、场景..." 
                            class="w-full pl-10 pr-4 py-2 rounded-full border border-gray-300 focus:outline-none focus:ring-2 focus:ring-rose-500">
                        <i class="fas fa-search absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
                    </div>
                </div>
                <nav class="hidden md:flex space-x-6">
                    <a href="home.html" class="text-gray-600 hover:text-rose-500">首页</a>
                    <a href="categories.html" class="text-rose-500 hover:text-rose-600 font-medium">分类</a>
                    <a href="cart.html" class="text-gray-600 hover:text-rose-500">购物车</a>
                </nav>
                <div class="flex items-center space-x-4">
                    <a href="cart.html" class="p-2 relative">
                        <i class="fas fa-shopping-cart text-gray-600 text-xl"></i>
                        <span class="absolute top-0 right-0 bg-rose-500 text-white rounded-full text-xs w-4 h-4 flex items-center justify-center">3</span>
                    </a>
                    <a href="login.html" class="hidden md:block text-gray-600 hover:text-rose-500">登录</a>
                    <a href="register.html" class="hidden md:block text-white bg-rose-500 px-4 py-2 rounded-lg hover:bg-rose-600 transition duration-300">注册</a>
                </div>
            </div>
            <!-- 移动端搜索栏 -->
            <div class="mt-3 relative md:hidden">
                <input type="text" placeholder="搜索鲜花、场景..." 
                    class="w-full pl-10 pr-4 py-2 rounded-full border border-gray-300 focus:outline-none focus:ring-2 focus:ring-rose-500">
                <i class="fas fa-search absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
            </div>
        </header>

        <!-- 主体内容区域 -->
        <main class="flex-grow container mx-auto px-4 py-6 md:py-8">
            <!-- 分类筛选区域 -->
            <div class="bg-white rounded-lg shadow-sm p-4 mb-6">
                <div class="border-b border-gray-200 pb-4 mb-4">
                    <h3 class="font-medium text-gray-700 mb-2">鲜花类型</h3>
                    <div class="flex flex-wrap gap-2">
                        <a href="#" class="px-3 py-1 bg-rose-500 text-white rounded-full text-sm">全部</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm hover:bg-gray-200">玫瑰</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm hover:bg-gray-200">百合</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm hover:bg-gray-200">向日葵</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm hover:bg-gray-200">郁金香</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm hover:bg-gray-200">康乃馨</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm hover:bg-gray-200">满天星</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm hover:bg-gray-200">绿植</a>
                    </div>
                </div>

                <div class="border-b border-gray-200 pb-4 mb-4">
                    <h3 class="font-medium text-gray-700 mb-2">场景分类</h3>
                    <div class="flex flex-wrap gap-2">
                        <a href="#" class="px-3 py-1 bg-rose-500 text-white rounded-full text-sm">全部场景</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm hover:bg-gray-200">爱情</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm hover:bg-gray-200">生日</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm hover:bg-gray-200">朋友</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm hover:bg-gray-200">感恩</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm hover:bg-gray-200">纪念日</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm hover:bg-gray-200">毕业季</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm hover:bg-gray-200">开业</a>
                    </div>
                </div>

                <div>
                    <h3 class="font-medium text-gray-700 mb-2">价格区间</h3>
                    <div class="flex flex-wrap gap-2">
                        <a href="#" class="px-3 py-1 bg-rose-500 text-white rounded-full text-sm">全部</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm hover:bg-gray-200">¥0-199</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm hover:bg-gray-200">¥200-299</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm hover:bg-gray-200">¥300-499</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm hover:bg-gray-200">¥500-999</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm hover:bg-gray-200">¥1000以上</a>
                    </div>
                </div>
            </div>

            <!-- 排序栏 -->
            <div class="bg-white rounded-lg shadow-sm p-3 flex justify-between items-center mb-6">
                <div class="text-sm text-gray-500">
                    共 <span class="text-rose-500">128</span> 个商品
                </div>
                <div class="flex space-x-4 text-sm">
                    <a href="#" class="text-rose-500">默认排序</a>
                    <a href="#" class="text-gray-500 hover:text-rose-500">价格从低到高</a>
                    <a href="#" class="text-gray-500 hover:text-rose-500">价格从高到低</a>
                    <a href="#" class="text-gray-500 hover:text-rose-500">销量优先</a>
                </div>
            </div>

            <!-- 商品列表 -->
            <div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4 md:gap-6">
                <!-- 商品项 -->
                <a href="product-detail.html" class="bg-white rounded-lg overflow-hidden border border-gray-100 hover:shadow-md transition duration-300">
                    <!-- 图片来源: https://unsplash.com/photos/a-bouquet-of-flowers-with-colorful-roses-in-it-7e9KaLQ9j0g -->
                    <img src="https://images.unsplash.com/photo-1586968895917-80585d521b92?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" 
                        alt="红玫瑰花束" class="w-full h-40 md:h-48 object-cover">
                    <div class="p-3 md:p-4">
                        <h3 class="font-medium text-base md:text-lg truncate">浪漫红玫瑰花束</h3>
                        <p class="text-sm text-gray-500 mb-2">11朵精选昆明玫瑰</p>
                        <p class="text-rose-500 font-bold">¥199</p>
                    </div>
                </a>

                <a href="product-detail.html" class="bg-white rounded-lg overflow-hidden border border-gray-100 hover:shadow-md transition duration-300">
                    <!-- 图片来源: https://unsplash.com/photos/a-bunch-of-roses-in-a-vase-JWUwmm0Wh5I -->
                    <img src="https://images.unsplash.com/photo-1533616688419-b7a585564566?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" 
                        alt="混合鲜花花束" class="w-full h-40 md:h-48 object-cover">
                    <div class="p-3 md:p-4">
                        <h3 class="font-medium text-base md:text-lg truncate">缤纷混合花束</h3>
                        <p class="text-sm text-gray-500 mb-2">多种鲜花精美搭配</p>
                        <p class="text-rose-500 font-bold">¥259</p>
                    </div>
                </a>

                <a href="product-detail.html" class="bg-white rounded-lg overflow-hidden border border-gray-100 hover:shadow-md transition duration-300">
                    <!-- 图片来源: https://unsplash.com/photos/yellow-and-pink-flower-bouquet-csqNh-MgJ8Y -->
                    <img src="https://images.unsplash.com/photo-1563241527-3004b7be0ffd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" 
                        alt="向日葵花束" class="w-full h-40 md:h-48 object-cover">
                    <div class="p-3 md:p-4">
                        <h3 class="font-medium text-base md:text-lg truncate">阳光向日葵花束</h3>
                        <p class="text-sm text-gray-500 mb-2">9朵向日葵主花</p>
                        <p class="text-rose-500 font-bold">¥229</p>
                    </div>
                </a>

                <a href="product-detail.html" class="bg-white rounded-lg overflow-hidden border border-gray-100 hover:shadow-md transition duration-300">
                    <!-- 图片来源: https://unsplash.com/photos/multi-colored-flower-bouquet-close-up-photography-Pwk0IZoYeyY -->
                    <img src="https://images.unsplash.com/photo-1526047932273-341f2a7631f9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" 
                        alt="郁金香花束" class="w-full h-40 md:h-48 object-cover">
                    <div class="p-3 md:p-4">
                        <h3 class="font-medium text-base md:text-lg truncate">彩色郁金香花束</h3>
                        <p class="text-sm text-gray-500 mb-2">进口郁金香多色搭配</p>
                        <p class="text-rose-500 font-bold">¥289</p>
                    </div>
                </a>

                <a href="product-detail.html" class="bg-white rounded-lg overflow-hidden border border-gray-100 hover:shadow-md transition duration-300">
                    <!-- 图片来源: https://unsplash.com/photos/person-holding-bouquet-of-flowers-oEoe-qPowPo -->
                    <img src="https://images.unsplash.com/photo-1586376259976-6471178d2e08?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" 
                        alt="白色满天星花束" class="w-full h-40 md:h-48 object-cover">
                    <div class="p-3 md:p-4">
                        <h3 class="font-medium text-base md:text-lg truncate">纯净白色满天星花束</h3>
                        <p class="text-sm text-gray-500 mb-2">满天星配叶尤加利</p>
                        <p class="text-rose-500 font-bold">¥199</p>
                    </div>
                </a>

                <a href="product-detail.html" class="bg-white rounded-lg overflow-hidden border border-gray-100 hover:shadow-md transition duration-300">
                    <!-- 图片来源: https://unsplash.com/photos/white-flowers-bouquet-qmM6L-4f0eE -->
                    <img src="https://images.unsplash.com/photo-1584589167171-541ce45f1eea?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" 
                        alt="白色百合花束" class="w-full h-40 md:h-48 object-cover">
                    <div class="p-3 md:p-4">
                        <h3 class="font-medium text-base md:text-lg truncate">纯洁白百合花束</h3>
                        <p class="text-sm text-gray-500 mb-2">5朵东方百合</p>
                        <p class="text-rose-500 font-bold">¥329</p>
                    </div>
                </a>

                <a href="product-detail.html" class="bg-white rounded-lg overflow-hidden border border-gray-100 hover:shadow-md transition duration-300">
                    <!-- 图片来源: https://unsplash.com/photos/pink-and-white-flowers-in-white-ceramic-vase-o_rKNRoJvI0 -->
                    <img src="https://images.unsplash.com/photo-1587556930799-8dca6fad6d43?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" 
                        alt="粉色康乃馨花束" class="w-full h-40 md:h-48 object-cover">
                    <div class="p-3 md:p-4">
                        <h3 class="font-medium text-base md:text-lg truncate">感恩康乃馨花束</h3>
                        <p class="text-sm text-gray-500 mb-2">12朵粉色康乃馨</p>
                        <p class="text-rose-500 font-bold">¥239</p>
                    </div>
                </a>

                <a href="product-detail.html" class="bg-white rounded-lg overflow-hidden border border-gray-100 hover:shadow-md transition duration-300">
                    <!-- 图片来源: https://unsplash.com/photos/a-vase-filled-with-flowers-sitting-on-top-of-a-wooden-table-nIn57JCQIhc -->
                    <img src="https://images.unsplash.com/photo-1591279304658-b894b00c0a87?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" 
                        alt="婚礼蓝色花束" class="w-full h-40 md:h-48 object-cover">
                    <div class="p-3 md:p-4">
                        <h3 class="font-medium text-base md:text-lg truncate">蓝色梦幻花束</h3>
                        <p class="text-sm text-gray-500 mb-2">蓝玫瑰绣球花混搭</p>
                        <p class="text-rose-500 font-bold">¥399</p>
                    </div>
                </a>
            </div>

            <!-- 分页 -->
            <div class="flex justify-center mt-8">
                <div class="flex items-center space-x-1">
                    <a href="#" class="px-3 py-1 rounded border border-gray-300 text-gray-600 hover:bg-gray-50">
                        <i class="fas fa-angle-left"></i>
                    </a>
                    <a href="#" class="px-3 py-1 rounded bg-rose-500 text-white">1</a>
                    <a href="#" class="px-3 py-1 rounded border border-gray-300 text-gray-600 hover:bg-gray-50">2</a>
                    <a href="#" class="px-3 py-1 rounded border border-gray-300 text-gray-600 hover:bg-gray-50">3</a>
                    <span class="px-3 py-1">...</span>
                    <a href="#" class="px-3 py-1 rounded border border-gray-300 text-gray-600 hover:bg-gray-50">10</a>
                    <a href="#" class="px-3 py-1 rounded border border-gray-300 text-gray-600 hover:bg-gray-50">
                        <i class="fas fa-angle-right"></i>
                    </a>
                </div>
            </div>
        </main>

        <!-- 页脚 -->
        <footer class="bg-white pt-8 pb-6 mt-8 border-t border-gray-200">
            <div class="container mx-auto px-4">
                <div class="grid grid-cols-2 md:grid-cols-4 gap-6 mb-8">
                    <div>
                        <h3 class="font-bold text-gray-800 mb-4">关于我们</h3>
                        <ul class="space-y-2 text-sm text-gray-600">
                            <li><a href="#" class="hover:text-rose-500">品牌故事</a></li>
                            <li><a href="#" class="hover:text-rose-500">企业文化</a></li>
                            <li><a href="#" class="hover:text-rose-500">门店展示</a></li>
                            <li><a href="#" class="hover:text-rose-500">联系我们</a></li>
                        </ul>
                    </div>
                    <div>
                        <h3 class="font-bold text-gray-800 mb-4">购物指南</h3>
                        <ul class="space-y-2 text-sm text-gray-600">
                            <li><a href="#" class="hover:text-rose-500">购物流程</a></li>
                            <li><a href="#" class="hover:text-rose-500">支付方式</a></li>
                            <li><a href="#" class="hover:text-rose-500">常见问题</a></li>
                            <li><a href="#" class="hover:text-rose-500">售后服务</a></li>
                        </ul>
                    </div>
                    <div>
                        <h3 class="font-bold text-gray-800 mb-4">配送服务</h3>
                        <ul class="space-y-2 text-sm text-gray-600">
                            <li><a href="#" class="hover:text-rose-500">配送范围</a></li>
                            <li><a href="#" class="hover:text-rose-500">配送时间</a></li>
                            <li><a href="#" class="hover:text-rose-500">配送费用</a></li>
                            <li><a href="#" class="hover:text-rose-500">特殊配送服务</a></li>
                        </ul>
                    </div>
                    <div>
                        <h3 class="font-bold text-gray-800 mb-4">联系我们</h3>
                        <ul class="space-y-2 text-sm text-gray-600">
                            <li class="flex items-center"><i class="fas fa-phone mr-2 text-rose-500"></i> 400-800-8888</li>
                            <li class="flex items-center"><i class="fas fa-envelope mr-2 text-rose-500"></i> service@flowercompany.com</li>
                            <li class="flex items-center"><i class="fas fa-map-marker-alt mr-2 text-rose-500"></i> 北京市朝阳区建国路88号</li>
                        </ul>
                        <div class="flex space-x-4 mt-4">
                            <a href="#" class="text-gray-400 hover:text-rose-500 text-lg"><i class="fab fa-weixin"></i></a>
                            <a href="#" class="text-gray-400 hover:text-rose-500 text-lg"><i class="fab fa-weibo"></i></a>
                            <a href="#" class="text-gray-400 hover:text-rose-500 text-lg"><i class="fas fa-envelope"></i></a>
                        </div>
                    </div>
                </div>
                <div class="border-t border-gray-200 pt-6 text-center text-sm text-gray-500">
                    <p>© 2023 花礼相伴 版权所有 京ICP备12345678号</p>
                </div>
            </div>
        </footer>
    </div>
</body>
</html>